Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript error fixed for Image component #4344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Keyur3766
Copy link

fixed #4342

  • Removed "px" from the height and width of the images to prevent typescript error.

@@ -12,8 +12,8 @@ function AppNoLink({ iconUrl, name }: AppNoLinkPros) {
blurDataURL="/brands/aurory.jpg" //TODO: fix me
placeholder="blur"
quality={50}
width="100px"
height="100px"
width="100"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be 100vw and 100vh instead?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, it doesn't take anything else part from Number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Just a Typescript bug [not too serious]
2 participants